﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilStartUps_PageNav.ascx.cs"
    Inherits="FilStartUps.Controls.FilStartUps_PageNav" %>
<!-- DATALIST FOR PAGE NAV --->
<nav>
<ul>
    <li>
        <asp:LinkButton runat="server" ID="lbHome" CausesValidation="false" OnClick="lbHome_Click">Home</asp:LinkButton>
    </li>
    <li>
        <asp:LinkButton runat="server" Visible="false" ID="lbProfile" OnClick="lbProfile_Click">Profile</asp:LinkButton>
    </li>
    <li>
        <asp:LinkButton runat="server" ID="lkForum" CausesValidation="false" OnClick="lkForum_Click">Forum</asp:LinkButton>
    </li>
    <asp:Repeater runat="server" ID="rp_FilStartUpsNav" OnItemCommand="rp_FilStartUpsNav_ItemCommand">
        <ItemTemplate>
            <li>
                <asp:LinkButton ID="pagename" runat="server" CausesValidation="false" CommandName="SelectRow"
                    Text='<%# DataBinder.Eval(Container.DataItem, "pagename") %>'></asp:LinkButton>
            </li>
            <asp:Label ID="pageidPK" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "pageidPK") %>'
                Visible="false">
            </asp:Label>
        </ItemTemplate>
    </asp:Repeater>
    <li>
        <asp:LinkButton ID="lblogin" CausesValidation="false" runat="server" 
            onclick="lblogin_Click">Login</asp:LinkButton>
    </li>
    <li>
        <asp:LinkButton ID="lbRegister" CausesValidation="false" runat="server" 
            onclick="lbRegister_Click">Register</asp:LinkButton>
    </li>
    <li>
        <asp:HyperLink runat="server" ID="lnadmin" Visible="false" NavigateUrl="~/Admin/AddForum.aspx">Administrator</asp:HyperLink>
    </li> 
    <li>
        <asp:LinkButton runat="server" ID="lbLgout" Visible="false" CausesValidation="false"
            OnClick="lbLgout_Click">Logout</asp:LinkButton>
    </li>
</ul>
  </nav>
<div class="cleaner">
</div>
<!--end filstartups_menu -->
